<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="/lib/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="/css/desktop/sfc-task.css" />
		<script th:src="@{/js/desktop/sfc-task.js}" type="text/javascript" charset="utf-8"></script>
		<script th:src="@{/js/jquery-3.6.0.js}" type="text/javascript" charset="utf-8"></script>
		<script th:src="@{/layer-v3.5.1/layer-v3.5.1/layer/layer.js}" type="text/javascript" charset="utf-8"></script>
	</head>
	<body onload="showInfo()">
	<input type="hidden" th:value="${session.user.getName()}" id="user">
	<input type="hidden" th:value="${session.user.getJt_id()}" id="jt_id">
		<div id="box1" align="center">
			<span>任务名称：</span>&nbsp;&nbsp;&nbsp;
			<input type="text" class="layui-text" id="name">&nbsp;&nbsp;&nbsp;
			<span>发起时间：</span>&nbsp;&nbsp;&nbsp;
			<input type="date" class="layui-date" id="begintime"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<span>状态：</span>&nbsp;&nbsp;&nbsp;
			<select name="state" class="layui-select" id="state" style="text-align:center">
				<option value="">全部&nbsp;</option>
				<option value='-1'>驳回&nbsp;</option>
				<option value= '0'>审核中</option>
				<option value='1'>通过&nbsp;</option>
			</select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<button type="button" class="layui-btn layui-btn-sm" onclick="showInfo()">查&nbsp;&nbsp;询</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<button type="button" class="layui-btn layui-btn-sm" onclick="location.reload()">重&nbsp;&nbsp;置</button>
		</div>
		<br>
		<table class="layui-table mytable" id="table-page">
			<tr>
				<th colspan="7">任务列表</th>
			</tr>
			<tr align="center">
				<th width="10%">序号</th>
				<th width="25%">任务名称</th>
				<th width="25%">发起时间</th>
				<th width="15%">状态</th>
				<th width="15%">操作</th>
			</tr>
			<tr align="center">
				<td>1</td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
			<tr align="center">
				<td>2</td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
			<tr align="center">
				<td>3</td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
			<tr align="center">
				<td>4</td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
			<tr align="center">
				<td>5</td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
			<tr align="center">
				<td>6</td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
			<tr align="center">
				<td>7</td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
			<tr align="center">
				<td>8</td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
			<tr align="center">
				<td>9</td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
			<tr align="center">
				<td>10</td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
		</table><br>
		<div id="pages">
			<h3 align="center">
				<button onclick="start()"
					class="layui-btn layui-btn-sm">首&nbsp;&nbsp;页</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<button onclick="prev()"
					class="layui-btn layui-btn-sm">上一页</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<span class="showPage">1/1</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <button onclick="next()"
					class="layui-btn layui-btn-sm">下一页</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<button onclick="end()"
					class="layui-btn layui-btn-sm">尾&nbsp;&nbsp;页</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			</h3>
		</div>
	</body>
</html>
